package com.ganbo.myspring1.service.impl;

import com.ganbo.myspring1.annotation.GBAutowired;
import com.ganbo.myspring1.annotation.GBService;
import com.ganbo.myspring1.dao.UserDao;
import com.ganbo.myspring1.service.UserService;


@GBService
public class UserServiceImpl implements UserService {

    @GBAutowired("userDao")
    private UserDao userDao;

    @Override
    public String hello(String name) {
        return userDao.hello(name);
    }
}
